package com.ctcemti.mdm.project.sys.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;

@Data
@ApiModel("人员与角色关系类")
public class RelPersonRole {

    @Id
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "人员id")
    private String personId;

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "类型")
    private Integer type;

}